<?php /* Smarty version Smarty-3.1.13, created on 2013-08-08 02:26:04
         compiled from "C:\xampp\htdocs\codigogm\application\view\agenda\edit.tpl" */ ?>
<?php /*%%SmartyHeaderCode:22080520140e91be873-30113173%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3a697b980d136b793efccb7a9af349a2841c4d2d' => 
    array (
      0 => 'C:\\xampp\\htdocs\\codigogm\\application\\view\\agenda\\edit.tpl',
      1 => 1375921558,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '22080520140e91be873-30113173',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_520140e927b469_98079058',
  'variables' => 
  array (
    'header' => 0,
    'nome' => 0,
    'cel' => 0,
    'tel' => 0,
    'email' => 0,
    'twitter' => 0,
    'msgEdit' => 0,
    'msgFailEdit' => 0,
    'footer' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_520140e927b469_98079058')) {function content_520140e927b469_98079058($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ($_smarty_tpl->tpl_vars['header']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div id="content">
<?php if ($_SESSION['logged']==1){?>
 <h2>Editar contato</h2>
 <form id="formEditContato" method="post">
  <div class="form_settings">
   <p><span>Nome:</span><input type="text" name="name" class="validate[required]" placeholder="Nome" value="<?php echo $_smarty_tpl->tpl_vars['nome']->value;?>
"/></p>
   <p><span>Celular:</span><input type="tel" name="cel" id="cel"
   placeholder="Celular (xx) xxxx-xxxx" value="<?php echo $_smarty_tpl->tpl_vars['cel']->value;?>
"/></p>
   <p><span>Telefone:</span><input type="tel" name="tel" id="tel" 
   placeholder="Telefone (xx) xxxx-xxxx" value="<?php echo $_smarty_tpl->tpl_vars['tel']->value;?>
"/></p>
   <p><span>Email:</span><input type="email" class="validate[custom[email]]" 
   name="email" placeholder="Email" value="<?php echo $_smarty_tpl->tpl_vars['email']->value;?>
"/></p>
   <p><span>Twitter:</span><input type="text" name="twitter" placeholder="Twitter" value="<?php echo $_smarty_tpl->tpl_vars['twitter']->value;?>
"/></p>
   <p style="padding-top: 15px"><span>&nbsp;</span><input class="submit" type="submit"
   name="salvar" value="salvar" /></p>
  </div>
 </form>
 <p><?php echo $_smarty_tpl->tpl_vars['msgEdit']->value;?>
</p>
<?php }else{ ?>
 <p><?php echo $_smarty_tpl->tpl_vars['msgFailEdit']->value;?>
</p>
<?php }?>
<?php echo $_smarty_tpl->getSubTemplate ($_smarty_tpl->tpl_vars['footer']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>